home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / Found / FWCollec / Include / FWOrdCol.h < prev    next >
Encoding:
Text File  |  1996-04-25  |  2.2 KB  |  77 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWOrdCol.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWORDCOL_H
  11. #define FWORDCOL_H
  12.  
  13. #ifndef PRORDCOL_H
  14. #include "PROrdCol.h"
  15. #endif
  16.  
  17. #ifndef FWEXCLIB_H
  18. #include "FWExcLib.h"
  19. #endif
  20.  
  21. //========================================================================================
  22. // Forward Class Declarations
  23. //========================================================================================
  24.  
  25. class FW_CPrivLinkedListIterator;
  26. class FW_CPrivLinkedList;
  27.  
  28. //========================================================================================
  29. // Class FW_CPrivOrderedCollection
  30. //========================================================================================
  31.  
  32. class FW_CPrivOrderedCollection
  33. {
  34. public:
  35.     FW_DECLARE_AUTO(FW_CPrivOrderedCollection)
  36.     friend class  FW_CPrivOrderedCollectionIterator;
  37.     
  38. //----------------------------------------------------------------------------------------
  39. //    Constructors/Destructor
  40. //
  41. public:
  42.     FW_CPrivOrderedCollection(FW_OrderedCollection_MatchProc matchProc);
  43.     ~FW_CPrivOrderedCollection();
  44.  
  45. //----------------------------------------------------------------------------------------
  46. //    Data Members
  47. //
  48. protected:
  49.     FW_HLinkedList                        fImplementation;
  50.     FW_OrderedCollection_MatchProc        fMatchProc;
  51. };
  52.  
  53. //========================================================================================
  54. // Class FW_CPrivOrderedCollectionIterator
  55. //========================================================================================
  56.  
  57. class FW_CPrivOrderedCollectionIterator 
  58. {
  59. public:
  60.     FW_DECLARE_AUTO(FW_CPrivOrderedCollectionIterator)
  61.  
  62. //----------------------------------------------------------------------------------------
  63. //    Constructors/Destructor
  64. //
  65. public:
  66.     FW_CPrivOrderedCollectionIterator(const FW_CPrivOrderedCollection* collection);
  67.     ~FW_CPrivOrderedCollectionIterator();
  68.     
  69. //----------------------------------------------------------------------------------------
  70. //    Data Members
  71. //
  72. protected:
  73.     FW_HLinkedListIterator         fImplementation;
  74. };
  75.  
  76. #endif
  77.